#include "stl.h"
#include "solution.h"

int main(int argc, char *argv[]){
    struct {
        int n, x, y;
    } testcases[] = {
        {3, 0, 2}, // 3
        {4, 1, 2}, // 5
        {4, 2, 2}, // 6
        {4, 3, 0}, // 1
        {8876, 217, 97}, // 4
        {971131546, 966980466, 531910024}, // 3
    };
    Solution sln;
    for(auto & t : testcases){
        print("n=", t.n, ", (", t.x, ",", t.y, ")\n")
        print("ans:", sln.orchestraLayout(t.n, t.x, t.y), "\n\n")
    }
    
    print("\n------ main exit ------\n")
    return 0;
}
